package com.cooperate.fly.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.cooperate.fly.bo.TMatrixY;

@Repository
public interface TMatrixYMapper {
	int updateYValue(@Param("caseId") Integer caseId,@Param("fieldId") Integer fieldId,@Param("yValue")String yValue);
    int deleteByPrimaryKey(Integer id);

    int insert(TMatrixY record);

    int insertSelective(TMatrixY record);

    TMatrixY selectByPrimaryKey(Integer id);


    TMatrixY selectByCaseIdAndFieldId(@Param("caseId") Integer caseId, @Param("fieldId") Integer fieldId);


    List<TMatrixY> selectByFid(Integer fid);

    int updateByPrimaryKeySelective(TMatrixY record);

    int updateByPrimaryKeyWithBLOBs(TMatrixY record);

    int updateByPrimaryKey(TMatrixY record);
    
    TMatrixY findYvalues(@Param("caseID") Integer caseID,@Param("field")Integer field);
    
    TMatrixY selectYTitleByfield(@Param("field")Integer field);
}